package com.it.admin.service;

import com.it.admin.model.dto.article.*;
import com.it.common.utils.Response;

public interface AdminArticleService {

    /**
     * 发布文章
     * @param publishArticleDto
     * @return {@link Response }
     */
    Response publishArticle(PublishArticleDto publishArticleDto);


    /**
     * 删除文章
     * @param deleteArticleDto
     * @return {@link Response }
     */
    Response deleteArticle(DeleteArticleDto deleteArticleDto);


    /**
     * 查询文章分页数据
     * @param findArticlePageListDto
     * @return
     */
    Response findArticlePageList(FindArticlePageListDto findArticlePageListDto);


    /**
     * 查询文章详情
     * @param findArticleDetailDto
     * @return {@link Response }
     */
    Response findArticleDetail(FindArticleDetailDto findArticleDetailDto);

    Response updateArticle(UpdateArticleDto updateArticleDto);

    /**
     * 更新文章是否置顶
     * @param updateArticleIsTopDto
     * @return {@link Response }
     */
    Response updateArticleIsTop(UpdateArticleIsTopDto updateArticleIsTopDto);
}
